<%--
  Created by IntelliJ IDEA.
  User: apple
  Date: 2020/4/20
  Time: 2:12 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="telephone=no" name="format-detection">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>酱子-日本料理</title>
    <link type="text/css" rel="stylesheet" href="static/css/index.css">
</head>
<body>
<div class="huiyuan_box color_1 fl">
    <div class="huiyuan" style=" background: -prefix-linear-zgradient(to bottom, #000000, #736a6a, #525252); background: linear-gradient(to bottom, #000000, #736a6a, #525252); ">
        <div class="huiyuan_tou fl"><img src="${user.photo}"></div>
        <span class="huiyuan_top"><i>${levelname}</i><b>NO：${user.id}</b>
    <script src="static/js/jquery.min.js" type="text/javascript"></script>
    <script src="static/js/jquery-progress.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="static/css/dengji.css">
    <span>
    <div class="waic progress"></div>
    <script type="text/javascript">
$(function(){
    var geshu = $(".djwai").children(".dengji").length;
    // alert(geshu);
    var wid = $(".djwai").width()/geshu/2;
    // alert(wid);
    var widt = wid + "px";
    // alert(widt);
    $(".xianpa").css({"padding-left":widt,"padding-right":widt});
    $(".yixif").css({"padding-left":widt,"padding-right":widt});
});

$(".progress").startProgress({
    "nodes":[
        <c:forEach items="${levels}" var="item">
        {"name":"${item.name}","money":${item.money}},
        </c:forEach>

    ],
    "hasPay":${user.jinyan}
});
</script></span>
    <p><sub class="fl"><span class="huiyuan_shengji">升级</span><a href="javascript:;">在获取40成长值升级为铂金会员</a></sub> </p>
    </span> </div>
    <div class="fenge"></div>
    <div class="menus fl">
        <ul>
            <li> <a href="javascript:;"><img src="static/picture/ico10.png"><span>等级权益</span></a> </li>
            <li> <a href="/jifenlog?uid=${user.id}"><img src="static/picture/ico11.png"><span>积分余额</span></a> </li>
            <li> <a href="javascript:;"> <img src="static/picture/ico12.png"> <span>关于我们</span> </a> </li>
            <li> <a href="javascript:;"> <img src="static/picture/ico12.2.png"> <span>会员礼券包</span> </a> </li>
        </ul>
    </div>
    <div class="fenge"></div>
    <div class="gr_menu">
        <ul>
            <li><a href="/sign?uid=${user.id}"><b>&nbsp;</b><i>签到有礼</i></a></li>
            <li><a href="/jifen/index?uid=${user.id}&pageNum=1&pageSize=3"><b>&nbsp;</b><i>积分商城</i></a></li>
            <li><a href="javascript:;"><b>&nbsp;</b><i>热门精选</i></a></li>
            <li><a href="javascript:;"><b>&nbsp;</b><i>今日推荐</i></a></li>
            <li><a href="javascript:;"><b>&nbsp;</b><i>我的收藏</i></a></li>
            <li><a href="javascript:;"><b>&nbsp;</b><i>在线充值</i></a></li>
            <li><a href="/myOrder?uid=${user.id}&pageNum=1&pageSize=3&types=99"><b>&nbsp;</b><i>我的订单</i></a></li>

        </ul>
    </div>
    <div class="cuzhi fl"><a href="javascript:;"><img src="static/picture/20190322133623_r2_c1.jpg"></a></div>
    <div class="gwc"><a href="javascript:;"><img src="static/picture/20190322133528_r2_c2.png"></a></div>
</div>
<div class="bottom_center_box">
    <ul>
        <li><a href="javascript:;"><img src="static/picture/sc_index_bottom_r1_c15.jpg"><span>会员</span></a></li>
        <li><a href="javascript:;"><img src="static/picture/sc_index_bottom_r1_c6.jpg"><span>礼券包</span></a></li>
        <li><a href="javascript:;"><img src="static/picture/sc_index_bottom_r1_c1.jpg"><span> 购物商城</span></a></li>
        <li><a href="javascript:;"><img src="static/picture/sc_index_bottom_r1_c16.jpg"><span>积分商城</span></a></li>
    </ul>
</div>
</body></html>
